home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 1 Issue 2 / PDCD-1 - Issue 02.iso / _utilities / utilities / 001 / qzapsrc / !QZap / h / QInitialis < prev    next >
Text File  |  1994-11-11  |  2KB  |  69 lines

  1. /*
  2.  * Initialise.h
  3.  */
  4.  
  5. #ifndef Initialise_H
  6. #define Initialise_H
  7.  
  8. #include "wimp.h"
  9.  
  10. #ifdef QInitialise
  11.   #define extern
  12.   wimp_icon_create IconbarIcon =
  13.   { /*w*/
  14.     wimp_ICON_BAR_RIGHT,
  15.     /*icon*/
  16.     { /*extent*/
  17.       { /*x0*/ 0,
  18.         /*y0*/ 0,
  19.         /*x1*/ 68,
  20.         /*y1*/ 68
  21.       },
  22.       /*flags*/
  23.         (wimp_ICON_SPRITE |
  24.          wimp_ICON_HCENTRED |
  25.          wimp_ICON_VCENTRED |
  26.          (wimp_BUTTON_CLICK << wimp_ICON_BUTTON_TYPE_SHIFT) |
  27.          (wimp_COLOUR_BLACK << wimp_ICON_FG_COLOUR_SHIFT) |
  28.          (wimp_COLOUR_VERY_LIGHT_GREY << wimp_ICON_BG_COLOUR_SHIFT)),
  29.       /*data*/
  30.       { /*sprite*/
  31.         {'!','q','z','a','p','\0','\0','\0','\0','\0','\0','\0'}
  32.       }
  33.     }
  34.   };
  35.   char SInfo[12] =
  36.       {'I','n','f','o','\0','\0','\0','\0','\0','\0','\0','\0'};
  37.   char SViewer[12] =
  38.       {'V','i','e','w','e','r','\0','\0','\0','\0','\0','\0'};
  39.   char SSave[12] =
  40.       {'S','a','v','e','\0','\0','\0','\0','\0','\0','\0','\0'};
  41.   char Version[17]="0.20 (11-Nov-94)";
  42.   char Appname[5]={'Q','Z','a','p','\0'};
  43.   char BadKorma[14]=
  44.       {'\0','\0','\0','\0','B','a','d',' ','K','o','r','m','a','\0'};
  45. #endif
  46.  
  47. #define indiconsize 0x0400
  48. #define tbufsize 0x400
  49. typedef wimp_WINDOW(1) wimp_WINDOW_1;
  50. typedef wimp_WINDOW(8) wimp_WINDOW_8;
  51. typedef wimp_WINDOW(11) wimp_WINDOW_11;
  52. extern wimp_w InfoHandle;
  53. extern wimp_w SaveHandle;
  54. extern char indirectedicons[indiconsize];
  55. extern int indfree;
  56. extern wimp_WINDOW_1 *Wviewer;
  57. extern wimp_WINDOW_8 *Winfo;
  58. extern wimp_WINDOW_11 *Wsave;
  59. extern int Addresses[4096];
  60. extern char TemplateBuffer[tbufsize];
  61.  
  62. #ifdef QInitialise
  63.   #undef extern
  64. #endif
  65.  
  66. void Initialise (void);
  67.  
  68. #endif
  69.